package com.imagecollector.common.constant;

/**
 * @Author: wrf
 * @Date: 2024/7/31 15:24
 * @Description: Redis常量
 */
public class RedisConstant {

    public static final String ADMIN_LOGIN_PREFIX = "admin:login:";
    public static final Integer ADMIN_LOGIN_CAPTCHA_TTL_SEC = 60;
    public static final String APP_LOGIN_PREFIX = "app:login:";
    public static final Integer APP_LOGIN_CODE_RESEND_TIME_SEC = 60;
    public static final Integer APP_LOGIN_CODE_TTL_SEC = 60 * 10;
    public static final String APP_ROOM_PREFIX = "app:room:";
    // 项目前缀
    public static final String PREFIX = "image_collector:";

    // 地区前缀
    public static final String DISTRICT = PREFIX + "district:";

}
